package net.zjvis.lab.nebula.backend.lib.algorithm.conf.connector;

import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;

@JsonTypeInfo(property = "type", use = JsonTypeInfo.Id.NAME)
@JsonSubTypes({
        @JsonSubTypes.Type(value = CsvFile.class, name = "csv_file"),
        @JsonSubTypes.Type(value = Mysql.class, name = "mysql"),
        @JsonSubTypes.Type(value = Postgresql.class, name = "postgresql"),
        @JsonSubTypes.Type(value = Sqlite3.class, name = "sqlite3"),
})
public interface Connector {
    //注意检查@JsonSubTypes.Type(name="")的值 需要与算法algorithm工程对应
}
